<?php

//Url and path setting
$CONFIG['index_page'] = '';
$CONFIG['uri_protocol'] = 'PATH_INFO';
$CONFIG['url_suffix'] = '';

//Auto Load Helper
$CONFIG['helpers'] = array();

//database setting
$CONFIG['database']['db'] = array(
                                'adapter'=>'Mysql',
                                'host'=>'localhost',
                                'port'=>'',
                                'dbuser'=>'root',
                                'dbpass'=>'',
                                'dbname'=>'test',
                                'pconnect'=>false,
                                'charset'=>'utf8',
                                'pre'=>''
                            );

//Set Cache Engine (file,memcached,xcache,apc) 
$CONFIG['cache_engine'] = 'file';

$CONFIG['cache_policy'] = array(
    'servers' => array(
        array('host' => '192.168.2.33','port' => '12000')
    ),
    'life_time' => 900
);

$CONFIG['view_engine'] = 'php';

//If you want use smarty
/*
$CONFIG['smarty'] = array(
    'left_delimiter' => '{[',
    'right_delimiter' => ']}',
    'template_dir' => APPBASE.'Views',
    'config_dir'   => APPBASE.'Views',
    'compile_dir'  => ROOTDIR.'_Cache/Templates',
);
*/

//if use hook
$CONFIG['hook'] = true;


//Auth Setting
$CONFIG['auth_open'] = true;

$CONFIG['auth'] = array(
    'cookie_name' => 'SP_AU',
    'cookie_path' => '/',
    'cookie_domain' => '',
    'auth_key' => 'kjufd$jsdf23',
    'db_table' => '#members',
    'db_uid'   => 'uid',
    'db_upass' => 'password',
    'db_loginname' => 'username'
);
